package controllers
import (
	beego "github.com/beego/beego/v2/server/web"
)

// BaseController 包装beego的controller
type BaseController struct {
	beego.Controller
}

// Prepare 关闭自动渲染页面，我们不是用后台渲染，全部使用前端渲染
func (c *BaseController) Prepare() {
	c.EnableRender = false
}
